class CreateSiteHeartBeats < ActiveRecord::Migration
  def self.up
    create_table :site_heart_beats do |t|
      t.integer :site_heart_beat_daily_stat_id
      t.integer :response_time, :default => 0
      t.timestamp :started_at,
        :ended_at
      t.string :type
      t.timestamps
    end
  end

  def self.down
    drop_table :site_heart_beats
  end
end
